<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/WEB-INF/templates/BasicTemplate.xhtml">

	<ui:define name="content">
		<h:outputLabel value="Welcome #{loginBean.name}"></h:outputLabel>
		<h:dataTable value="#{myBean.dataList}" var="dataItem">
			<h:column>
				<f:facet name="header">
					<h:outputText value="ID" />
				</f:facet>
				<h:outputText value="#{dataItem.id}" />
			</h:column>

			<h:column>
				<f:facet name="header">
					<h:outputText value="Name" />
				</f:facet>
				<h:outputText value="#{dataItem.name}" />
			</h:column>

			<h:column>
				<f:facet name="header">
					<h:outputText value="Value" />
				</f:facet>
				<h:outputText value="#{dataItem.value}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="Imagen" />
				</f:facet>
				<h:graphicImage value="image/disponible.png" /> 
			</h:column>
		</h:dataTable>
		<h:panelGroup binding="#{myBean.dataTableGroup}" />
		<h:graphicImage value="image/disponible.png" /> 
	</ui:define>

</ui:composition>
</html>